package com.sdzp.entity;

import java.util.Date;

public class UserSearch {
    private Integer userSearchId;

    private String searchContent;

    private Integer userId;

    private Date searchTime;

    public UserSearch(Integer userSearchId, String searchContent, Integer userId, Date searchTime) {
        this.userSearchId = userSearchId;
        this.searchContent = searchContent;
        this.userId = userId;
        this.searchTime = searchTime;
    }

    public UserSearch() {
        super();
    }

    public Integer getUserSearchId() {
        return userSearchId;
    }

    public void setUserSearchId(Integer userSearchId) {
        this.userSearchId = userSearchId;
    }

    public String getSearchContent() {
        return searchContent;
    }

    public void setSearchContent(String searchContent) {
        this.searchContent = searchContent == null ? null : searchContent.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getSearchTime() {
        return searchTime;
    }

    public void setSearchTime(Date searchTime) {
        this.searchTime = searchTime;
    }
}